.class Lcom/netease/newsreader/view/PullRefreshListView$RefreshTask;
.super Ljava/lang/Object;
.source "PullRefreshListView.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/view/PullRefreshListView;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "RefreshTask"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/view/PullRefreshListView;


# direct methods
.method private constructor <init>(Lcom/netease/newsreader/view/PullRefreshListView;)V
    .locals 0
    .parameter

    .prologue
    .line 611
    iput-object p1, p0, Lcom/netease/newsreader/view/PullRefreshListView$RefreshTask;->this$0:Lcom/netease/newsreader/view/PullRefreshListView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/netease/newsreader/view/PullRefreshListView;Lcom/netease/newsreader/view/PullRefreshListView$RefreshTask;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 611
    invoke-direct {p0, p1}, Lcom/netease/newsreader/view/PullRefreshListView$RefreshTask;-><init>(Lcom/netease/newsreader/view/PullRefreshListView;)V

    return-void
.end method

.method static synthetic access$1(Lcom/netease/newsreader/view/PullRefreshListView$RefreshTask;)Lcom/netease/newsreader/view/PullRefreshListView;
    .locals 1
    .parameter

    .prologue
    .line 611
    iget-object v0, p0, Lcom/netease/newsreader/view/PullRefreshListView$RefreshTask;->this$0:Lcom/netease/newsreader/view/PullRefreshListView;

    return-object v0
.end method


# virtual methods
.method public run()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 614
    iget-object v1, p0, Lcom/netease/newsreader/view/PullRefreshListView$RefreshTask;->this$0:Lcom/netease/newsreader/view/PullRefreshListView;

    invoke-static {v1}, Lcom/netease/newsreader/view/PullRefreshListView;->access$1(Lcom/netease/newsreader/view/PullRefreshListView;)Lcom/netease/newsreader/view/PullListView;

    move-result-object v1

    invoke-virtual {v1}, Lcom/netease/newsreader/view/PullListView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout$LayoutParams;

    .line 615
    .local v0, lp:Landroid/widget/FrameLayout$LayoutParams;
    iput v2, v0, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I

    .line 616
    iget-object v1, p0, Lcom/netease/newsreader/view/PullRefreshListView$RefreshTask;->this$0:Lcom/netease/newsreader/view/PullRefreshListView;

    invoke-static {v1}, Lcom/netease/newsreader/view/PullRefreshListView;->access$1(Lcom/netease/newsreader/view/PullRefreshListView;)Lcom/netease/newsreader/view/PullListView;

    move-result-object v1

    invoke-virtual {v1}, Lcom/netease/newsreader/view/PullListView;->requestLayout()V

    .line 617
    iget-object v1, p0, Lcom/netease/newsreader/view/PullRefreshListView$RefreshTask;->this$0:Lcom/netease/newsreader/view/PullRefreshListView;

    invoke-virtual {v1, v2, v2}, Lcom/netease/newsreader/view/PullRefreshListView;->scrollTo(II)V

    .line 618
    iget-object v1, p0, Lcom/netease/newsreader/view/PullRefreshListView$RefreshTask;->this$0:Lcom/netease/newsreader/view/PullRefreshListView;

    new-instance v2, Lcom/netease/newsreader/view/PullRefreshListView$RefreshTask$1;

    invoke-direct {v2, p0}, Lcom/netease/newsreader/view/PullRefreshListView$RefreshTask$1;-><init>(Lcom/netease/newsreader/view/PullRefreshListView$RefreshTask;)V

    invoke-virtual {v1, v2}, Lcom/netease/newsreader/view/PullRefreshListView;->post(Ljava/lang/Runnable;)Z

    .line 628
    return-void
.end method
